﻿using ClothingShopping.Dto.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClothingShopping.Dto.AccountDto
{
    public class LoginInDto
    {
        /// <summary>
        /// 登录账号
        /// </summary>
        public string? login_name { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string? pwd { get; set; }
    }
    public class LoginInputDto
    {
        /// <summary>
        /// 登录账号
        /// </summary>
        public string? login_name { get; set; }
        /// <summary>
        /// 微信openID
        /// </summary>
        public string? open_id { get; set; }

        /// <summary>
        /// 电话号码
        /// </summary>
        public string? phone { get; set; }

        /// <summary>
        /// 通用唯一标识符(用于获取验证码)
        /// </summary>
        public string uuid { get; set; }

        /// <summary>
        /// 验证码
        /// </summary>
        public string captchaCode { get; set; }

        /// <summary>
        /// MD5加密密码
        /// </summary>
        public string? md5_password { get; set; }

        /// <summary>
        /// 登录类型
        /// </summary>
        public LoginType loginType { get; set; }
    }
}
